package com.nmh.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel(value="数据字典类")
public class DictType implements Serializable {
    @ApiModelProperty(value = "数据字典主键")
    private Integer dictId;

    @ApiModelProperty(value = "数据字典类型")
    private String dictType;

    @ApiModelProperty(value = "数据字典牲畜状态")
    private String status;

    @ApiModelProperty(value = "数据字典牲畜名字")
    private String dictName;

    @ApiModelProperty(value = "数据字典牲畜id")
    private Integer livestockId;

    @TableField(fill= FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @TableField(fill=FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;
}
